package bsw.wode.entity;

import java.util.Date;

/**
 * WodeMessage entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class WodeMessage implements java.io.Serializable {

	// Fields

	private String code;
	private String owner;
	private String sender;
	private String receipter;
	private Date createTime;
	private String position;
	private String title;
	private String content;
	private String flag;
	private String format;

	// Constructors

	/** default constructor */
	public WodeMessage() {
	}

	/** full constructor */
	public WodeMessage(String code, String owner, String sender,
			String receipter, Date createTime, String position, String title,
			String content, String flag, String format) {
		this.code = code;
		this.owner = owner;
		this.sender = sender;
		this.receipter = receipter;
		this.createTime = createTime;
		this.position = position;
		this.title = title;
		this.content = content;
		this.flag = flag;
		this.format = format;
	}

	// Property accessors

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getOwner() {
		return this.owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getSender() {
		return this.sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceipter() {
		return this.receipter;
	}

	public void setReceipter(String receipter) {
		this.receipter = receipter;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getFlag() {
		return this.flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getFormat() {
		return this.format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

}